#ifndef BATTERY_H
#define BATTERY_H

#include <string>

class Battery {
private:
    std::string parameter;        // 参数
    double outputVoltage;         // 对外供电
    double chargeTime;            // 充电时长

public:
    Battery();
    Battery(const std::string& parameter, double outputVoltage, double chargeTime);

    // Getters
    std::string getParameter() const;
    double getOutputVoltage() const;
    double getChargeTime() const;

    // Setters
    void setParameter(const std::string& parameter);
    void setOutputVoltage(double outputVoltage);
    void setChargeTime(double chargeTime);

    void display() const;
};

#endif // BATTERY_H